/* eslint no-unused-vars:0 */
import React from 'react';
import { Row, Col } from 'antd';
import Header from './components/Header/index';
import Footer from './components/Footer/index';
import NavLeft from './components/NavLeft/index';
import Home from './pages/home';
import './style/style.less';

export default class Admin extends React.Component {
    constructor(props) {
        super(props);
    }

    componentWillMount() {
        // console.log(this.props.children);
    }

    render() {
        return (
            <div>
                <Col span={3}>
                    <NavLeft history={this.props.history} />
                </Col>
                <Col span={21}>
                    <Header history={this.props.history}>Header</Header>
                    <Row>
                        {this.props.children}
                        {/*<Home/>*/}
                    </Row>
                    {/* <Footer>Footer</Footer>*/}
                </Col>
            </div>
        );
    }
}
